package com.tuanzi.loan.api.controller;

import com.tuanzi.loan.schedule.receipt.StatisticsCollaborateRegisterScheduler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * User: liangZongXi
 * Create time: 10:37 2019/7/19
 * Description: 用来补充任务定时不生效的数据，请善用
 */
@RestController
@RequestMapping("/collaborate")
public class CollaborateController {
    @Autowired
    private StatisticsCollaborateRegisterScheduler statisticsCollaborateRegisterScheduler;

    @GetMapping("/stat")
    public void collaborate(){
        statisticsCollaborateRegisterScheduler.statisticsCollaborateInfo();
    }
}
